<h2 style="background:url(../images/tran.png) no-repeat left top; height:42px;
margin-bottom:10px;
padding-bottom:20px; font-family:Arial, Helvetica, sans-serif;  font-size:26px;color:#8F6B16;white-space:nowrap; font-weight:normal">Chăm sóc da mặt</h2>
	<?
	$sql = "select * from news where categories_id=11 and news_subjecten!='' order by news_ordered Asc";
	$result = @mysql_query($sql,$con);
	while(($n=mysql_fetch_assoc($result)))	
	{?>
<div style="color:#636466; size:13px; float:left; font-family:Arial, Helvetica, sans-serif; width:390px; text-align:justify; padding-top:8px;">

<h2 style="font-size:12px; color:#8F6B16; text-transform:uppercase"><? echo $n['news_subjecten']; ?></h2>
<p  style="color:#ffffff"><? echo $n['last_modified']; ?></p>
<p style="clear:both"></p>
	<div style="width:335px; float:left; color:#000">
        <div style="width:250px; height:70px; float:left; padding-top:7px;_padding-top:10px;*padding-top:10px ">
                <div style="background:#beb7af; text-align:center; width:250px; height:23px;line-height:23px;  font-size:12px;"><? echo $n['news_source']; ?> PHÚT</div>
                <div style="background:#b5995a;text-align:center;  width:250px; height:23px; line-height:23px; font-size:12px;"><? echo $n['news_contentvn']; ?></div>
                <div style="clear:both"></div>
                <div style="background:#d6d6d6; text-align:center;  width:250px; height:50px; line-height:23px; font-size:12px; font-weight:bold;">
					<div style="float:left; padding-left:5px;">
						<?php
						include("vn/class_merchant.php");
						$fixprice = intval(preg_replace("/[^\d]+/", "", $n['news_contentvn']));
						$price = $fixprice*0.7;
						echo '<div>Với SOHAPAY</div>';
						echo '<div><span style="color:red;">'.number_format($price, 0, ",", ".").' VNĐ</span></div>';
						?>
					</div>
					<div style="float:left; padding-left:15px;">
						<?php
						if ($price == 0){
							echo '<a href="https://sohapay.com/payment_product.php?u=phung_phuong@yahoo.com"><img src="https://sohapay.com/images/btn/muangay_sohapay_orange.png"></a>';
						}else{
							$params = array(
								'transaction_info'  => 'Mua gói dịch vụ '.$n['news_subjecten'].' tại pearlriverspa.com',
								'price'             => $price,
								'order_ship'        => 0,
								'return_url'		=> 'http://pearlriverspa.com'
							);
							$classPayment= new PG_checkout();
							print $classPayment->buildEmbedHTML($params);
						} 
						?>
						<script type="text/javascript" src="https://sohapay.com/merchant/merchant.js"></script>
					</div>
				</div>
        </div>
        <div style="text-align:center; color:#9f9e9c; height:23px; line-height:23px; padding-top:11px">
            <!-- <a rel="shadowbox[];width=800;height=510;options={}"  href="module/book.php">ĐẶT HÀNG</a> --->
        </div>
    </div>
</div>

<? }?>
</div>
